                      __             _     __                _
      ____ ___  ___  / /__________  (_)___/ /    ____  _____(_)___ ___  ___ 
     / __ `__ \/ _ \/ __/ ___/ __ \/ / __  /    / __ \/ ___/ / __ `__ \/ _ \  ()
    / / / / / /  __/ /_/ /  / /_/ / / /_/ /    / /_/ / /  / / / / / / /  __/
   /_/ /_/ /_/\___/\__/_/   \____/_/\__,_/    / ____/_/  /_/_/ /_/ /_/\___/  ()
             __                __            /_/  
            / /_  __  ______  / /____  __________
           / __ \/ / / / __ \/ __/ _ \/ ___/ ___/      Metroid Prime Hunters
          / / / / /_/ / / / / /_/  __/ /  /___ /  translation manual and Software
         /_/ /_/\____/_/ /_/\__/\___/_/  /____/         (c) 2o14 tagteam.ru

Warning!!!
You'll need ROM:
3274 - Metroid Prime - Hunters (Europe) (En,Fr,De,Es,It) (Rev 1).nds
  Size: 67108864 bytes
 CRC32: 8DC4D756 

1. Fonts
======================
1.1 Unpacking arm9.bin
--------------------->
If you want to edit fonts, you'll need decompress arm9.bin.
To do it, open your MPH rom in CrystalTile2, go to "Tools->NDS File system (Ctrl+N)", right click on arm9.bin, select "Extract(U)..." and save decompressed arm9.bin (910072 bytes).

1.2 Patching arm9.bin
--------------------->
I dont know how to correctly recompress arm9.bin after editing to make it work on real NDS hardware, so we will patch it and use decompressed.
Go to 0xb60 and replace 0xd42d0802 to 0x00000000


1.3 Editing fonts
--------------------->
In MPH used 2 fonts, both in arm9.bin
1st (fnt1.png): 0x000c0b6c, 4bpp linear, reverse-order, 1-dimensional
2nd (fnt2.png): 0x000c8068, 8bpp linear, 2-dimensional
 *You should edit fonts with your favorite tile editor (for example TileMolester).
Width table (one table for two fonts): 0xC02AC (1 byte = 1 symbol width).
 *You should edit table with your favorite hex editor (for example HxD).

2. Text
======================
All text stored in two folders: "frontend" and "stringTables".

Frontend (menu, options etc. for single and multy):
 metroidhunters_text_en-gb.bin
 single_metroidhunters_text_en.bin
StringTables:
 GameMessages.bin
 HudMessagesMP.bin
 HudMessagesSP.bin
 HudMsgsCommon.bin
 LocationNames.bin
 ScanLog.bin
 ShipInSpace.bin
 ShipOnGround.bin
 WeaponNames.bin

2.1 Convertion
--------------------->
To convert bin<->txt use NDS_MPH_strings_v5.exe (MS .net framework is needed).

2.1.1 BIN->TXT
1. Run NDS_MPH_strings_v5.exe
2. Select .bin file using "..."
3. Convert it to txt using bin->txt button
4. .txt file will be saved in the same folder

2.1.2 TXT->BIN
1. Run NDS_MPH_strings_v5.exe
2. Select .bin file using "..." (.bin and edited .txt MUST be placed in the same folder).
3. Convert it to txt using txt->bin button
4. Modified .bin will be saved as *_ru.bin

2.2 Char table
--------------------->
NDS_MPH_strings_v5.exe uses table for text conversion (CharMap.txt)
Table needs only for not standard latin (diacritic) symbols (from 0xC380 to 0xC3BF).

2.3 Text editing
--------------------->
For editing converted .txt files I'm recommend Notepad++ (http://notepad-plus-plus.org/).
Some of converted .txt files has <null> bytes, dont delete it!
Standart windows notepad dont see it.

3. Rebuild data
======================
Just use DS Lazy for extract rom data and rebuild it.

4. Credits
======================
Formats hacking and manual by lupus
NDS_MPH_strings by NightCroucher
Special thx to zg and alex_231

You can find us on tagteam.ru/forum

And, sorry for bad English